<%-- 
    Document   : content_muasam
    Created on : Sep 27, 2012, 6:33:23 PM
    Author     : LaiHuynh
--%>
<%@page import="model.pojo.ChiTietWsBanHang"%>
<%@page import="java.util.List"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!--Content-->
<div id="primary">
    <div id="welcome">
        <h1><span>Mua Sắm</span></h1>
        <div id="tier-1">
            <c:forEach var="pt" items="${WebSites}">
                <div class="post-item">
                    <h4><a href="${pt.link}" title="Nhấn vào đây để tiến hành mua sắm trên website bán hàng này" target="_blank">${pt.tenWsBanHang}</a></h4>
                    <img width="89" height="76" style="border:1px solid #666666" src="images/${pt.logo}">
                    <p style="color:#666666;text-align:justify">${pt.sumary}<p>
                </div><!--End #post-item-->
            </c:forEach>
        </div><!--End #tier1-->
        <table width="100%" height="27" cellpadding="3">
            <tbody>
                <tr>
                    <td></td>
                    <td class="Paging" align="right">
                        Trang
                        <c:if test="${maDanhMuc == null}">
                            <c:forEach var="i" begin="1" end="${SoTrang}" step="1">
                                <a href="MuaSam.do?Trang=${i}" class="Link">${i} </a>
                            </c:forEach>
                        </c:if>
                        <c:if test="${maDanhMuc != null}">
                            <c:forEach var="i" begin="1" end="${SoTrang}" step="1">
                                <a href="MuaSamController.do?Trang=${i}&maDanhMuc=${maDanhMuc}" class="Link">${i} </a>
                            </c:forEach>
                        </c:if>

                        <!--<font class="chose">1</font>
                        <a class="Link" href=#">2</a>
                        <a class="Link" href="#">3</a>-->
                    </td>
                </tr>
            </tbody>
        </table>
    </div><!--End #welcome-->
    <div id="login">

    </div><!--End #login-->
</div><!--End #primary-->
<div class="clear"></div>
</div><!--End #content-->
<!--end content-->
